import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

// https://vitejs.dev/config/
export default defineConfig({
  // base:'/admin/',
  outputDir: 'dist',
  assetsDir: 'assets',
  plugins: [vue()],
  server: {
    hmr: true,
    port: 5174,
  },
  resolve: {
    alias: {
      '@':path.resolve(__dirname,'./src')
    }
  }
})